package com.bootcamp.servlet.mvc.model;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @program: wrok-1101
 * @description: product information
 * @author: Keyu Li
 * @create: 2021-11-04 19:55
 **/
@Data
public class Product {
    Integer id;
    String name;
    String color;
    String category;
    BigDecimal price;
    String description;

    public Product(){}

    public Product(int id, String name, String color, String category, BigDecimal price, String description) {
        this.id = id;
        this.name = name;
        this.color = color;
        this.category = category;
        this.price = price;
        this.description = description;
    }
}
